package cn.hdc.study;
import java.util.Scanner;

public class TestDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个字符串->");
        String str = scanner.nextLine();
        System.out.println("请输入一个整数->");
        int n = scanner.nextInt();
        System.out.println("请输入一个小数->");
        double d = scanner.nextDouble();

        System.out.println("str = "+str+"  "+"n = "+n+"  "+"d = "+d);

    }
}
